FROM centos:7
RUN yum install -y vim
RUN ["yum", "install" ,"-y", "vim"]
EXPOSE 8080
WORKDIR /data
WORKDIR bb
COPY aa.txt /data/bb
VOLUME /data/bb/a/txt
#  当作参数 配合使用  ls /data/bb  shell不可用 json格式可以
ENTRYPOINT  ["ls","/data"]
CMD ["bb"]
